diff options
| author | Adam Soltys <[email protected]> | 2024-09-24 20:12:43 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-24 20:12:43 -0700 |
| commit | d49d4119811dee9270f0858f3f03e5d8cd0d95ba (patch) | |
| tree | 42101a3ccf47f7b7290637700b90a843476e56f7 /src/routes/(app)/verify/[code]/+page.svelte | |
| parent | 20c0c52f8b850bfbab490735b0b5cd5d08851488 (diff) | |
| parent | 9531ccbdf01b07c392b1b5cb6d8ad4680ee29d2c (diff) | |
| download | coinos-ui-d49d4119811dee9270f0858f3f03e5d8cd0d95ba.tar.gz coinos-ui-d49d4119811dee9270f0858f3f03e5d8cd0d95ba.zip | |
Merge branch 'self-custody'
Diffstat (limited to 'src/routes/(app)/verify/[code]/+page.svelte')
| -rw-r--r-- | src/routes/(app)/verify/[code]/+page.svelte | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/routes/(app)/verify/[code]/+page.svelte b/src/routes/(app)/verify/[code]/+page.svelte new file mode 100644 index 00000000..1e099dae --- /dev/null +++ b/src/routes/(app)/verify/[code]/+page.svelte @@ -0,0 +1,35 @@ +<script> + import { scale } from "svelte/transition"; + import Icon from "$comp/Icon.svelte"; + import { t } from "$lib/translations"; + + export let data; + let { user, error } = data; +</script> + +<div class="container px-4 text-center mx-auto"> + {#if error} + <h1 class="text-3xl md:text-4xl font-bold mb-6"> + Email verification failed + </h1> + {:else if user.verified} + <div + class="flex w-full py-5 max-w-[200px] mx-auto" + in:scale={{ start: 0.5 }} + > + <Icon icon="check" style="mx-auto" /> + </div> + + <h1 class="text-3xl md:text-4xl font-bold mb-6"> + Email verified successfully! + </h1> + {/if} +</div> + +<a href={`/${user.username}`}> + <div class="opacity-0 w-screen h-screen fixed top-0 left-0 z-50" /> +</a> + +<div class="fixed bottom-10 w-full text-center"> + {$t("payments.tapAnywhere")} +</div> |
